package com.oa.srms.apps.business.organization;

import java.util.List;

import com.oa.srms.apps.entity.organization.SectionInfoValue;

public interface ISectionInfoService {
	public int addSectionInfo(int categoryId, String sectionNo, String sectionName)throws Exception;

	public boolean modifySectionInfo(int sectionId, int categoryId, String sectionNo, String sectionName)throws Exception;
	
	public boolean deleteSectionInfo(String sectionIds)throws Exception;
	
	public boolean toDisable(int sectionId)throws Exception;
	
    public boolean toEnable(int sectionId)throws Exception;

	public SectionInfoValue queryBySectionId(int sectionId)throws Exception;
	
	public List<SectionInfoValue> queryAllSectionInfo()throws Exception;
	
	public List<SectionInfoValue> querySectionInfo(Integer categoryId, Integer states)throws Exception;

}
